const Layout = () => import("@/layout/index.vue");

export default [
  {
    path: "/love",
    name: "Love",
    component: Layout,
    redirect: "/love/dining",
    meta: {
      icon: "ri:heart-add-line",
      title: "恋爱管理",
      rank: 10
    },
    children: [
      {
        path: "/love/travel",
        name: "LoveTravel",
        component: () => import("@/views/love/travel.vue"),
        meta: {
          icon: "ri:road-map-line",
          title: "旅行记录"
        }
      },
      {
        path: "/love/dining",
        name: "LoveDining",
        component: () => import("@/views/love/dining.vue"),
        meta: {
          icon: "ri:book-2-line",
          title: "日常记录"
        }
      },
      {
        path: "/love/dining-detail/:id",
        name: "LoveDiningDetail",
        component: () => import("@/views/love/dining-detail.vue"),
        meta: {
          title: "记录详情",
          showLink: false
        }
      }
    ]
  },
  {
    path: "/love-map",
    name: "LoveMap",
    component: Layout,
    redirect: "/love-map/inmaplove",
    meta: {
      icon: "ri:map-pin-2-line",
      title: "恋爱地图",
      rank: 11
    },
    children: [
      {
        path: "/love-map/inmaplove",
        name: "InMapLove",
        component: () => import("@/views/love-map/inmaplove.vue"),
        meta: {
          icon: "ri:pushpin-line",
          title: "打卡地图"
        }
      }
    ]
  }
];
 